package com.ruoyi.web.utils;

import lombok.Data;

import java.io.Serializable;

/**
 * 接收http响应参数实体类、
 * @author  zdh
 * @date 2020-04-07
 */
@Data
public class HttpResult implements Serializable {

    /**
     * http 相应状态码
     */
    private Integer statusCode;

    /**
     * 返回消息内容
     */
    private  String content;

    public HttpResult() {};

    public HttpResult(Integer statusCode , String content) {
        this.statusCode = statusCode;
        this.content = content;
    }
}
